﻿@using kTudu.Web.HTML
@model kTudu.Web.Models.UserClient
@{
    ViewBag.Title = "Index";
}

<script src="@Url.Content("~/Scripts/Views/Account/Index.js")" type="text/javascript"></script>

<h2>Cuenta de @ViewBag.CurrentUserName</h2>

<p>Datos de la cuenta</p>


@Html.LabelFor(x => x.Login)
@Html.LabelForModel(Model.Login)

@Html.LabelFor(x => x.Name)
@Html.LabelForModel(Model.Name)

@Html.LabelFor(x => x.Lastname)
@Html.LabelForModel(Model.Lastname)

@Html.LabelFor(x => x.Rol.Description)
@Html.LabelForModel(Model.Rol.Description)

@Html.LabelFor(x => x.Mail)
@Html.LabelForModel(Model.Mail)

@Html.LabelFor(x => x.UserData.BirthDate)
@if (Model.UserData.BirthDate.HasValue)
{
    @Html.LabelForModel(Model.UserData.BirthDate.Value.ToShortDateString())
}

@Html.LabelFor(x => x.UserData.About)
@Html.LabelForModel(Model.UserData.About)

@Html.LabelFor(x => x.UserData.Company)
@Html.LabelForModel(Model.UserData.Company)

@Html.LabelFor(x => x.UserData.JobPosition)
@Html.LabelForModel(Model.UserData.JobPosition)

@Html.LabelFor(x => x.UserData.Twitter)
@Html.LabelForModel(Model.UserData.Twitter)

@Html.LabelFor(x => x.UserData.Blog)
@Html.LabelForModel(Model.UserData.Blog)

@Html.LabelFor(x => x.UserData.WebPage)
@Html.LabelForModel(Model.UserData.WebPage)


@Html.ActionLink("Modificar", "Edit", new { id = 1 })
